<template>
  <div style="width: 100%;height: 500px">
    <van-button type="primary">主要按钮</van-button>
    <van-button type="info">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>

   <!-- <van-swipe class="my-swipe" :autoplay="3000" @change="fn"
               indicator-color="red" :show-indicators="false">
      <van-swipe-item>
        <img src="../assets/1.jpg" alt="">
      </van-swipe-item>
      <van-swipe-item>
        <img src="../assets/2.jpg" alt="">
      </van-swipe-item>
      <van-swipe-item>
        <img src="../assets/3.jpg" alt="">
      </van-swipe-item>
      <van-swipe-item>
        <img src="../assets/4.jpg" alt="">
      </van-swipe-item>
    </van-swipe>-->
  </div>
</template>

<script>
  export default {
    name: 'HelloWorld',

  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    background-color: #39a9ed;
    width: 100%;
    height: 200px !important;
  }
  img{
    width: 100%;
    height: 100%;
  }
</style>
